One function of the yellow perch’s gills is to: